<?xml version="1.0" encoding="utf-8"?>
<theme>
  <folder name="Mobile">
    <files>
      <file name="index.view" type="text"><![CDATA[#if($where == "category")
<h2 class="archive">Entries categorized '$category.Name' &darr;</h2>
#elseif($where == "tag")
<h2 class="archive">Entries tagged '$tag' &darr;</h2>
#elseif($where == "search")
<h2 class="archive">Search Results for '$macros.SearchQuery' &darr;</h2>
#end

#foreach($post in $posts)

<div class="entrycontainer">
<h3><a href="$post.Url" rel="bookmark" title="$post.Title">$post.Title</a></h3>
<p class="post_date">
	$post.Published.ToString("dddd, MMMM dd yyyy")
</p>
<p class="post_meta">
	<span class="add_comment">
		$macros.CommentUrl($post, "%{anchor='comment_list'}")
	</span>
</p>
</div>

#nodata
<div class="entry">
	Sorry, there are no posts matching your request.
</div>

#end

#if($where == "category" || $where=="home")
$macros.Pager("navigation")
#end
<br />
]]></file>
      <file name="layout.view" type="text"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>$title</title>
		$macros.Style("mobile.css","screen")				
		
		$macros.Head()
	</head>
	<body>
	<div id="header">
		<div>
<div id="title"><a href="$urls.Home"><h2 class="title">$data.Site.Title</h2></a></div>
			<h3>$data.Site.TagLine</h3>
		</div>
<div id="feed">
<p>
<a href="$urls.Home" title="Home">Home</a>
 | 
<a href="$urls.Rss" title="Subscribe to this site's feed">RSS Feed</a>
</p>
</div>
	</div>

	
	<div id="container">		
			<div id="content">
				$childContent
			</div>
	</div>

<div id="footer">
	$data.Site.Copyright
</div>
	$!data.Site.WebStatistics
	</body>
</html>
]]></file>
      <file name="mobile.css" type="text"><![CDATA[body
{
	margin: 0; padding: 0;
	font: 85%/1.5 Verdana, Tahoma, Arial, Helvetica, sans-serif;
	color: #333; 
	background: #FFF;
        max-width: 200px;
}

a {
	color: #3333FF;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #3333FF; 
	background-color: inherit;
}


#header
{
        text-align: center;
	position: absolute;
	left: 3px;
 	font: bold Verdana, Arial, Tahoma,  Sans-serif;	
	position: relative;
	clear: both; 
	margin: 0; padding: 0;
	position: absolute;
	margin: 0;
        padding: 0;
	color: #000;
}

#title
{
        font-size: 15px;
}

#title a.visited
{
        color: black;
}

.red   { color: #CC0000; }

.entrycontainer
{
    	display: block;
	border: solid 2px #333;
        margin-top: 5px;
        margin-bottom: 5px;
        paddin-top: 4px;
}

img
{
	max-width: 40px;
}]]></file>
      <file name="post.view" type="text"><![CDATA[<div class="entrycontainer">
<h2>$post.Title</h2>
<p class="post_date">
	$post.Published.ToString("dddd, MMMM dd yyyy")
</p>
<div class="entry">
	$post.Body
</div>
<p class="post_meta">
	<span class="tag_list">
		$macros.TagList($post.TagList)
	</span>
</p>
</div>

#foreach($comment in $comments)

#beforeall
<dl id="comment_list">
<h4>Comments</h4>

	#nodata
	
	#if($post.EnableNewComments)
	<div class="entry">
		<p>There are no comments yet...Kick things off by filling out the form below.</p>
	</div>
	#end

	#each
	<dt id="comment-$comment.Id" #if($comment.CreatedBy == $post.CreatedBy) class="author" #end>
		<span class="comment_num">
			<a href="#comment-$comment.Id" title="Permalink to this comment">#$count</a>
		</span>
		<strong>
			<a href="$!comment.WebSite">$comment.Name</a>
		</strong>on $comment.Published.ToString("M.dd.yyyy") at $comment.Published.ToString("h:mm tt")
	</dt>
	<dd id="comment-body-$comment.Id"  class="entry#if($comment.CreatedBy == $post.CreatedBy) author#end">
		   $comment.Body #if($isUser)<a href="javascript:void(0);" onclick="Comments.deleteComment('$urls.AdminAjax', $comment.Id,'comment-$comment.Id','comment-body-$comment.Id'); return false">Delete Comment</a>#end
	</dd>
#afterall
	</dl>
#end

#if($post.EnableNewComments)
<h3 id="respond">Leave a Comment</h3>
<form action="$url" method="post" id="comment_form">

		#if($isUser)
		<p class="unstyled">
			Logged in as $user.ProperName <a href="$urls.Logout">Logout</a>
		</p>
		#else
		<p>
			<input class="text_input" type="text" name="author" id="author" value="" tabindex="1" /><label for="author"><strong>Name</strong></label>
		</p>
		<p>
			<input class="text_input" type="text" name="email" id="email" value="" tabindex="2" /><label for="email"><strong>Mail</strong></label>
		</p>
		<p>
			<input class="text_input" type="text" name="url" id="url" value="" tabindex="3" /><label for="url"><strong>Website</strong></label>
		</p>
		#end
		<p>
			<textarea class="text_input text_area" name="comment" id="comment" rows="7" tabindex="4"></textarea>
		</p>

		<p>
			$macros.CommentButton("%{class='form_submit', tabindex='5', value='Submit'}") <div style="display:none;" id="comment_status"></div>
			<input type="hidden" name="comment_post_ID" value="$post.Id" />				
		</p>
	</form>
#end
]]></file>
    </files>
  </folder>
</theme>